<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="../js/jquery-3.4.1.js"></script>
</head>
<body>
<audio controls="controls" id="play1">
    <source src="" type="audio/wav">
</audio>
</body>

<script>

    let audioPlay = document.getElementById("play1");

    $(() => {
        playInit();
    });

    function playInit() {
        audioPlay.src = 'http://localhost:80/audio/wav/bytes';
    }

</script>

</html>